package es.uji.viselab.util;

public enum LogLevel {
	ERROR(10), WARNING(20), INFO(30), DETAIL(40), DEBUG(50), STATS(60);
	
	private int level;
	
	LogLevel(int level){
		this.level=level;
	}

	private int getLevel() {
		return this.level;
	}

	boolean show(LogLevel request){
		return this.level>=request.getLevel();
	}

	
}
